import request from "../utils/request";

// 登录
export const apiLogin = (data) => {
  return request({ url: "/api/login", method: "post", data });
};

// 用户信息
export const apiUserInfo = () => {
  return request({ url: "/api/userInfo" });
};
